package com.campus.service;

import com.campus.pojo.dto.HomeworkDTO;
import com.campus.pojo.dto.HomeworkPageQueryDTO;
import com.campus.pojo.entity.Homework;
import com.campus.pojo.vo.HomeworkVO;
import com.campus.result.PageResult;

import java.util.List;

public interface HomeworkService {
    PageResult<HomeworkVO> pageQuery(HomeworkPageQueryDTO homeworkPageQueryDTO);

    void deleteByIds(List<Long> ids);

    void save(HomeworkDTO homeworkDTO);

    void updateStatus(Long id, Integer status);

    void update(HomeworkDTO homeworkDTO);

    HomeworkVO getById(Long id);
}
